package com.powerunion.datacollection.model;

import java.util.Date;

/**
 * 采集任务
 * @author qyw
 *
 */
public class CollectionTask {
	private String id;
	//名称
	private String name;
	//描述
	private String description;
	//类型 0自动型，1人工型，2混合型
	private int type;
	//创建日期
	private Date createDate;
	//创建用户编码
	private String crtUserCode;
	//创建用户姓名 
	private String crtUserName;
	//默认启动日期
	private Date startupDate;
	//完成日期
	private Date completedDate;
	//实例数目
	private int instanceNum;
	//启动者角色
	private String startUpRole;
	//表单
	private String formId;
	//流程
	private String procId;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public String getCrtUserCode() {
		return crtUserCode;
	}
	public void setCrtUserCode(String crtUserCode) {
		this.crtUserCode = crtUserCode;
	}
	public String getCrtUserName() {
		return crtUserName;
	}
	public void setCrtUserName(String crtUserName) {
		this.crtUserName = crtUserName;
	}
	public Date getStartupDate() {
		return startupDate;
	}
	public void setStartupDate(Date startupDate) {
		this.startupDate = startupDate;
	}
	public Date getCompletedDate() {
		return completedDate;
	}
	public void setCompletedDate(Date completedDate) {
		this.completedDate = completedDate;
	}
	public int getInstanceNum() {
		return instanceNum;
	}
	public void setInstanceNum(int instanceNum) {
		this.instanceNum = instanceNum;
	}
	public String getStartUpRole() {
		return startUpRole;
	}
	public void setStartUpRole(String startUpRole) {
		this.startUpRole = startUpRole;
	}
	public String getFormId() {
		return formId;
	}
	public void setFormId(String formId) {
		this.formId = formId;
	}
	public String getProcId() {
		return procId;
	}
	public void setProcId(String procId) {
		this.procId = procId;
	}
}
